<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <title>smilevue</title>
    <!-- iphone5 1rem->16px html font-size 16px -->
    <style>
      #test{
        font-size: 1rem;
      }
    </style>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
    <script>
      let HTMLWidth = document.documentElement.clientWidth || document.body.clientWidth;
      if (HTMLWidth>750) {HTMLWidth=750}
      let htmlDOM = document.getElementsByTagName('html')[0];
      htmlDOM.style.fontSize = HTMLWidth/20 + 'PX';
    </script>
  </body>
</html>
